using ED.Common.BaseModel;
using ED.Model.Request;

/// <summary>
/// Department服务
/// </summary>
namespace ED.IService
{
    public interface IDepartmentService
    {
        /// <summary>
        /// Department查询
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public List<DepartmentRes> Page(DepartmentQueryReq req);

        /// <summary>
        /// Department新增
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public ResponseOutput Add(DepartmentOperateReq req);

        /// <summary>
        /// Department更新
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public ResponseOutput Update(DepartmentOperateReq req);

        /// <summary>
        /// Department删除
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public ResponseOutput Delete(int req);
    }
}
